﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="RouteDetail.aspx.cs" Inherits="DBWTProject.route.RouteDetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Route Details</h2>
    <h3>
        Route Statistics</h3>
    <table class="datatable">
        <tr>
            <th>Characteristic</th>
            <th>Value</th>
        </tr>
        <tr>
            <td>Total distance:</td>
            <td><asp:Label ID="totalDistanceLabel" runat="server" Text="NaN"></asp:Label>&nbsp;km</td>
        </tr>
        <tr>
            <td>Total duration:</td>
            <td><asp:Label ID="totalDurationLabel" runat="server" Text="NaN"></asp:Label></td>
        </tr>
        <tr>
            <td>Elevation covered:</td>
            <td><asp:Label ID="elevationCoveredLabel" runat="server" Text="NaN"></asp:Label>&nbsp;m</td>
        </tr>
        <tr>
            <td>Mean speed:</td>
            <td><asp:Label ID="meanSpeedLabel" runat="server" Text="NaN"></asp:Label>&nbsp;km/h</td>
        </tr>
    </table>
    <h3>Elevation Profile</h3>
    <asp:Panel ID="elevationProfPanel" runat="server"></asp:Panel>

    <h3>Speed Profile</h3>
    <asp:Panel ID="speedProfPanel" runat="server"></asp:Panel>

    <br />
    <asp:HyperLink ID="hylMyRoutes" runat="server" NavigateUrl="~/route/MyRoutes.aspx">back to my routes...</asp:HyperLink>
</asp:Content>
